package langchain4j.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * appointment表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Appointment {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long userId;
    private String username;
    private String idCard;
    private String department;
    private String date;
    private String time;
    private String status;
    private String doctorName;
    @TableField(condition = "is_delete")
    @JsonIgnore
    private Integer isDelete;
}